            <!-- Begin: Wrapper Header -->
            <div class="header hidden">
<? Shell::showWidgets('wrapper-header') ?>
            </div> <!-- End -->
            
            <!-- Begin: Sidebar Left -->
            <div class="sidebar left">
<? Shell::showWidgets('sidebar-left') ?>                
            </div> <!-- End -->
            
            <!-- Begin: Content Guide Automotive Products -->
            <div class="content guide-automotive-products">
                <div class="banners-lateral">
                    <span>Publicidade</span>
                    <ul>
<?
if (isset(LayoutPage::$banners['lateral2'])):
    $banners = LayoutPage::$banners['lateral2'];
    foreach ($banners as $banner):
        if ($banner == null):
?>
                        <li>
                            <a href="javascript:;">
                                <img src="<?= _BNN_IMG_ ?>lateral2.jpg" alt="Banner" />
                            </a>
                        </li>
<?
        else:
?>
                        <li>
<?
            if (strtolower(pathinfo($banner->filepicture, PATHINFO_EXTENSION)) == 'jpg'):
                if (!$banner->id_enterprise):
?>
                            <a href="<?= $banner->href ?>" target="<?= $banner->target ?>">
<? else: ?>
                            <a href="<?= __BASE_URI__.'revenda/'.urlencode(strtolower(str_replace(' ', '-', $banner->fancyname))).'/'.$banner->e_id ?>">
<? endif ?>
                                <img src="<?= _BNN_IMG_.$banner->filepicture ?>" alt="Banner" />
                            </a>
<? else: ?>
                            <object width="120" height="60">
                                <param name="src" value="<?= _BNN_IMG_.$banner->filepicture ?>">
                                <param name="wmode" value="opaque">
                                <embed src="<?= _BNN_IMG_.$banner->filepicture ?>" width="120" height="60"></embed>
                            </object>
<? if (!$banner->id_enterprise): ?>
                            <a class="flash" href="<?= $banner->href ?>" target="<?= $banner->target ?>"></a>
<? else: ?>
                            <a class="flash" href="<?= __BASE_URI__.'revenda/'.urlencode(strtolower(str_replace(' ', '-', $banner->fancyname))).'/'.$banner->e_id ?>"></a>
<?
                endif;
            endif;
?>
                        </li>
<?
        endif;
    endforeach;
endif
?>
                    </ul>
                </div>
                <div class="info">
<? if (GuideAutomotiveProducts::$client->filepicture != null): ?>
                    <img src="<?= _ETP_IMG_.'normal/'.GuideAutomotiveProducts::$client->filepicture ?>" />
<? else: ?>
                    <img src="<?= _ETP_IMG_ ?>normal/no-image.jpg" />
<? endif ?>
                    <h2><?= (GuideAutomotiveProducts::$type == 'F') ? GuideAutomotiveProducts::$client->name : GuideAutomotiveProducts::$client->fancyname ?></h2>
                    <p>
                        <strong>Endereço</strong>: <?= GuideAutomotiveProducts::$client->address ?>, <?= GuideAutomotiveProducts::$client->number ?><br/>
                        <strong>Bairro</strong>: <?= GuideAutomotiveProducts::$client->district ?><br/>
                        <strong>Cidade</strong>: <?= GuideAutomotiveProducts::$client->ct_name ?> - <?= GuideAutomotiveProducts::$client->st_symbol ?><br/>
                        <strong>CEP</strong>: <?= Util::format_cep(GuideAutomotiveProducts::$client->cep) ?><br/>
                        <strong>Contatos</strong>: <?= GuideAutomotiveProducts::$client->contacts ?>
                    </p>
                    <div class="phones">
<? foreach (GuideAutomotiveProducts::$phones as $phone): ?>
                        <p><?= Util::format_phone($phone->areacode.$phone->number) ?></p>
<? endforeach ?>
                    </div>
                </div>
                <div class="pagination">
<? if (!empty(GuideAutomotiveProducts::$data)): ?>
                    <ul>
<? foreach (GuideAutomotiveProducts::$data as $product): ?>
                        <li>
                            <a href="<?= __BASE_URI__.'produto/'.$product->p_id ?>">
                                <img class="thumb" src="<?= _PDT_IMG_ ?>last-updated/<?= $product->ptop_filepicture ?>" alt="" />
                            </a>
                            <a href="<?= __BASE_URI__.'produto/'.$product->p_id ?>">
                                <h2><?= $product->p_name ?></h2>
                            </a>
                            <p class="price">R$ <?= Util::format_money($product->price) ?></p>
                        </li>
<? endforeach ?>
                    </ul>
<? else: ?>
                    <p class="notfound">Nenhum veículo foi encontrado</p>
<? endif ?>
                </div>
                <div class="pages-menu">
                    <?= GuideAutomotiveProducts::$pagination->html ?>
                </div>
            </div>
         </div> <!-- End -->
